/* 功能模块schema */

var mongoose = require('mongoose');


/* 模块数据库表 */
var ModulesSchema = new mongoose.Schema({
    user: String,
    modules: String,
    top:Number,
    left:Number,
    tableTextRow:String,
    tableTextColumn:String,
    list:String,
    width:String,
    hight:String,
    formType:String,
    inputLabel:String,
    tableTs:String,
    leftMenu:String
});

/* 数据库表模型化 */
var Modules = mongoose.model('Modules', ModulesSchema);

/* 导出模型 */
module.exports = Modules;